package com.star.system.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 菜单新增或更新
 *
 * @author yangzj
 */
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Data
public class MenuUpdateDTO extends MenuSaveDTO {

    /**
     * id
     */
    @NotNull
    private Long id;
}
